package org.zjz.basket.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Desc: 代码生成器相关配置
 *
 * @author gezq
 * @since 4/10/2022 - 10:50 PM
 */
@Component
@ConfigurationProperties(prefix = "fairy.generator")
@Data
public class GeneratorConfiguration {

    private String output;

    private String url;

    private String username;

    private String password;

    private String[] tables;

    private String author;

    private String datetimePattern;

    private String tablePrefix;

    private String tableSuffix;

    private String fieldPrefix;

    private String fieldSuffix;

    private String optimisticLockDb;

    private String optimisticLockDo;

    private String logicDeleteDb;

    private String logicDeleteDo;

    private String packageParent;

    private String packageModule;

    private String packageController;

    private String packageEntity ;

    private String packageService;

    private String packageServiceImpl;

    private String packageMapper;

    private String packageXml;

    private String[] packageOthers;

    private String patternController;

    private String patternEntity;

    private String patternService;

    private String patternServiceImpl;

    private String patternMapper;

    private String patternXml;
}
